
package com.insigma.business.qrcode.common._provider;



import com.insigma.business.qrcode.common.dto.BaseLogRequest;
import com.insigma.business.qrcode.common.dto.SystemConfigDTO;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.ContactNoDTO;
import com.insigma.business.qrcode.soldier.dto.SimpleApiRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.soldier.request.SystemConfigUpdateRequest;

import java.util.List;


public interface SystemConfigProvider {

    
    BaseResponse<List<SystemConfigDTO>> listAllSystemConfig();

   
    BaseResponse<SystemConfigDTO> getSystemConfig(final BaseGetRequest baseGetRequest);

    
    BaseResponse<SystemConfigDTO> getSystemConfigByName(final String name);

    
    BaseResponse<Integer> updateSystemConfig(final SystemConfigUpdateRequest systemConfigUpdateRequest);

    
    BaseResponse<Boolean> sendSmsCode(String phoneNumber, String code);

    
    BaseResponse<Boolean> sendSmsCodeByShipingtai(String phoneNumber, String code);

    
    BaseResponse<ContactNoDTO> getContactNo(String areaCode);

    
    BaseResponse<ContactNoDTO> queryCommonContactNo(SimpleApiRequest request);

    void saveLog(BaseLogRequest baseLogRequest);
}
